package com.micro.service.common.constants;

/**
 * @author lvxiucai
 * @description 登录和不需要登录的常量URL
 * @date 2019/12/23
 */
public interface LoginConstant {

    String LOGIN_PAGE = "/authentication/require";

    String LOGIN_PROCESSING_URL = "/authentication/form";

    String AFTER_LOGING_PAGE = "/oauthLogin";

    String DEFAULT_LOGIN_PAGE="/login.html";

    String LOGIN_FAILURE_PAGE="/loginError.html";

    /**
     *肯定不需要token校验的url地址
     */
    String[] IGNORE_LOGIN_URLS = {
            "/oauth/token",
            "/sms/v1/code",
            "/sms/login",
    };

    /**
     *肯定需要登录的url地址
     */
    String[] NEED_LOGIN_URLS = {
            "/user/v1/updateUserBaseInfo",
            "/user/v1/getUserInfo",
    };



}
